package com.panshi.hujin2.httpcrawler.domain.outlook;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * outlook收件箱实体类
 * @Author: wangxl
 * @Date: 2018/11/22 10:30
 */
@Data
@NoArgsConstructor
public class OutlookInboxDo {

    //用户邮箱地址
    private String userEmailAddress;
    //收件箱ID
    private String id;
    //收件箱邮件数量
    private Integer totalCount;
    //下载token
    private String downloadToken;

    public String getUserEmailAddress() {
        return userEmailAddress;
    }

    public void setUserEmailAddress(String userEmailAddress) {
        this.userEmailAddress = userEmailAddress;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public String getDownloadToken() {
        return downloadToken;
    }

    public void setDownloadToken(String downloadToken) {
        this.downloadToken = downloadToken;
    }

    public OutlookInboxDo(String userEmailAddress, String id, Integer totalCount, String downloadToken) {
        this.userEmailAddress = userEmailAddress;
        this.id = id;
        this.totalCount = totalCount;
        this.downloadToken = downloadToken;
    }

    @Override
    public String toString() {
        return "OutlookInboxDo{" +
                "userEmailAddress='" + userEmailAddress + '\'' +
                ", id='" + id + '\'' +
                ", totalCount=" + totalCount +
                ", downloadToken='" + downloadToken + '\'' +
                '}';
    }
}
